package cn.com.tupperware.dao;

import cn.com.tupperware.entity.Territories;
import cn.com.tupperware.entity.TerritoriesExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface TerritoriesMapper {
    long countByExample(TerritoriesExample example);

    int deleteByExample(TerritoriesExample example);

    int deleteByPrimaryKey(String territoryid);

    int insert(Territories record);

    int insertSelective(Territories record);

    List<Territories> selectByExample(TerritoriesExample example);

    Territories selectByPrimaryKey(String territoryid);

    int updateByExampleSelective(@Param("record") Territories record, @Param("example") TerritoriesExample example);

    int updateByExample(@Param("record") Territories record, @Param("example") TerritoriesExample example);

    int updateByPrimaryKeySelective(Territories record);

    int updateByPrimaryKey(Territories record);
}